<template>
<div>
  跳转页
</div>
</template>

<script>
export default {
  data () {
    return { detail : {} }
  },
  async asyncData(txt) {
    const res = await txt.$api.articleDetail(txt.query.id)
    let detail = {}
    if(res.code === 200) {
      detail = res.data
    }
    return { detail }
  }
}
</script>

<style lang="scss" scoped>

</style>
